package com.flurry.android;

import android.util.Log;
import java.util.HashMap;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.util.EntityUtils;
import org.json.JSONObject;

final class fw extends a
{
  public fw()
    throws Exception
  {
  }

  private JSONObject a(HashMap<String, Object>[] paramArrayOfHashMap)
  {
    try
    {
      this.c = ((AppCloudResponseHandler)paramArrayOfHashMap[0].get("del"));
      this.d = ((AppCloudResponseRequestManagerHandler)paramArrayOfHashMap[0].get("del_internal"));
      this.e = paramArrayOfHashMap[0];
      String str = "https://" + FlurryAppCloud.I() + "/" + (String)paramArrayOfHashMap[0].get("url");
      HttpGet localHttpGet = new HttpGet(str);
      Log.w("GET_OPERATION", "URL = " + str);
      a(localHttpGet, paramArrayOfHashMap[0]);
      JSONObject localJSONObject = new JSONObject(EntityUtils.toString(this.a.execute(this.b, localHttpGet, new BasicHttpContext()).getEntity()).toString());
      if ((localJSONObject.getInt("code") != 400) && (localJSONObject.has("APPCLOUD_USER_SESSION")))
        FlurryAppCloudRequestManager.UserSession = localJSONObject.getString("APPCLOUD_USER_SESSION");
      return localJSONObject;
    }
    catch (Exception localException)
    {
      localException.printStackTrace();
    }
    return null;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.flurry.android.fw
 * JD-Core Version:    0.6.2
 */